<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>javascript build website</title>
<script src="http://www.m3958.com/yui/3.5.0pr2/build/yui/yui-min.js"></script>

<script type="text/javascript">
var m3958_hostname = "http://www.m3958.com/";
(function(){
	var hr = window.location.href;
	if(hr.indexOf('8888') == -1){
		if(hr.indexOf('debug=true') != -1){
			m3958_hostname = 'file:///E:/eclipse-jee-helios-SR1-win32/xyzcms/war/';
		}
	}else{
		m3958_hostname = 'http://127.0.0.1:8888/';
	}
})();
	
YUI(
	{combine: true,
		comboBase: m3958_hostname + 'combo/yui?',
	modules:{
	'progress-bar-css' : {
        type: "css",
        fullpath: m3958_hostname + "m3958-module-css/progressbar.css"
	},
	'progress-bar' : {
		requires:['widget','progress-bar-css'],
		fullpath : m3958_hostname + "m3958-module-js/progressbar.js"
	}
}}).use('progress-bar',function(Y){
	var fu = new Y.M3958.ProgressBar({visible:false});
	fu.render('#fileUploader');
	fu.set('progress',6/17);
	fu.show();
});

</script>
</head>
<body>
<ul id="articleUl">
</ul>
<div id="fileUploader">abc</div>


</body>
</html>